package net.sky.oa.test.dao.talkpark;
import javax.annotation.Resource;
import org.junit.Test;
import org.springframework.test.annotation.Rollback;
import net.sky.oa.dao.talkpark.MailFolderDao;
import net.sky.oa.model.MailFolder;
import net.sky.oa.test.BaseTestCase;

public class MailFolderDaoTestCase extends BaseTestCase{
    
	@Resource
	private MailFolderDao mailfolderdao;
	
    @Test
    @Rollback(false)
    public void save(){
    MailFolder mailFolder=new MailFolder();
    mailFolder.setParentid(0L);
    mailFolder.setFoldername("垃圾箱");
    mailFolder.setIspublic(1);
    mailFolder.setPath("0.4.");
    mailFolder.setDeplevel(1);
    mailFolder.setType(4);
    
    this.mailfolderdao.save(mailFolder);
    }
}
